/* 点击高亮我们需要清除 设置为transparent 完成透明 */
*{
    -webkit-tap-highlight-color: transparent;
}

input:focus {
    outline: none; /* 去掉默认的外边框阴影 */
  }
/* 禁用长按页面时弹出的菜单 */
img,a{
    -webkit-touch-callout: none;
}
*{
    margin: 0;
    padding: 0;
}
body{
    min-width: 320px;
    max-width: 414px;
    margin: 0 auto;
    background-color: #f4f4f4;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;

}
/* 头部部分开始 */
header{
    width: 100%;
    height: 50px;
    background-color: #f8f8f8;
}
header p{
    font-size: 18px;
}
header p a{
    text-decoration: none;
    color: black;
} 
header p a span{
    display: block;
    margin: 15px 15px ;
    font-size: 50px;
    font-weight: bold;
}
/* 头部部分结束 */

main{
    width: 100%;
}
/* 商品展示图部分开始 */
.iot_img{
    position: relative;
     width: 100%;
     height: 330px;
}
.iot_img ul{
    width: 100%;
    height: auto;
}
.iot_img ul li{
    position: absolute;
    width: 100%;
    height: 100%;
}
.iot_img img{
    width: 100%;
    height: 100%;
}
.iot_img li {
    opacity: 0;
    transition: opacity .5s linear;
}
.iot_img li.active{
    opacity: 1;
}


/* 商品展示图部分结束 */

.iot_price{
    width: 100%;
    height: 75px;
    background-color: #35c9a9;
}
.iot_price p{
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 25px;
}

.iot_good{
    width: 100%;
    height: 230px;
    background-color: white;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.iot_goodtitle{
    width: 100%;
    height: 40%;
    display: flex;
    flex-wrap: wrap;
}
.iot_goodname{
    width: 100%;
    height: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.iot_gooddesc{
    width: 100%;
    height: 50%;
    font-size: 14px;
    color: red;
    display: flex;
    padding-left: 30px;
    align-items: center;
}
.iot_address{
    width: 100%;
    height: 60%;
    display: flex;
    flex-wrap: wrap;
}
.iot_address div{
    width: 100%;
    height: 33%;
    border-top: 1px solid rgb(179, 176, 176);
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 14px;
}

/* 商品详细 */
.iot_details{
    background-color: white;
    width: 100%;
    height: 250px;
    box-sizing: border-box;
}
.iot_detailstitle{
    width: 100%;
    height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.iot_detailstitle::before{
    position: absolute;
   left: 4px;
    content: "";
    width: 2px;
    height: 16px;
    background-color: #35c9a9;
}
.iot_detailsall div{
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 10px 20px;
  border-bottom: 1px dashed gray;
}
/*底部部分 */
footer{
    max-width: 414px;
    position: fixed;
    display: flex;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    z-index: 999;
}
.iot_footerimgs{
    width: 40%;
    height: 100%;
    display: flex;
    box-sizing: border-box;
}
.iot_footerimgs div{
    width: 33%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}
.iot_footerimgs div img{
    width: 25px;
    height: 25px;
    margin: auto;
}
.iot_footerimgs div span{
    display: block;
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iot_footerbuttons{
    width: 60%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.iot_footerbuttons button{
    color: white;
    width: 50%;
    height: 60%;
    border-radius: 20px;
    border: none;
    margin: 5px;
}
.iot_footerbuttons button:nth-child(1){
    background-color: #fdaa67;
}
.iot_footerbuttons button:nth-child(2){
    background-color: #27bb9b;
}